`fill-paragraph-function'. Although it's not the normal way to call
it in a CC Mode buffer it makes a direct call to `fill-paragraph' work
better.
comment-start-skip "/\\*+ *\\|//+ *"
comment-multi-line t)
+ ;; Install `c-fill-paragraph' on `fill-paragraph-function' so that a
+ ;; direct call to `fill-paragraph' behaves better. This still
+ ;; doesn't work with filladapt but it's better than nothing.
+ (make-local-variable 'fill-paragraph-function)
+ (setq fill-paragraph-function 'c-fill-paragraph)
+
;; Set `require-final-newline' only if we should.
(let ((rfn (assq mode c-require-final-newline)))
(when rfn